package com.coffee.ws.handler;


import com.coffee.ws.CoffeeWebsocketException;
import com.coffee.ws.command.CoffeeBinaryParam;
import com.coffee.ws.metadata.BasicBinaryMessage;

/**
 * 字节 命令处理
 *
 * @param <T>
 */
public interface CoffeeBinaryHandler<T extends BasicBinaryMessage> {

    void handle(CoffeeBinaryParam<T> command) throws CoffeeWebsocketException;

}
